﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class KhauPhanAnChiTiet
    {
        private Guid _id;
        private Guid _khauPhanAnId = Guid.Empty;
        private Guid _thucPhamId = Guid.Empty;
        private double _soLuong;
        private double _tien;

        public KhauPhanAnChiTiet()
        {
        }

        public KhauPhanAnChiTiet(  Guid _id,
         Guid _khauPhanAnId,
         Guid _thucPhamId ,
         double _soLuong,
         double _tien)
        {
            Id = _id;
            KhauPhanAnId = _khauPhanAnId;
            ThucPhamId = _thucPhamId;
            SoLuong = _soLuong;
            Tien = _tien;
        }
        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Guid KhauPhanAnId
        {
            get { return _khauPhanAnId; }
            set { _khauPhanAnId = value; }
        }

        public Guid ThucPhamId
        {
            get { return _thucPhamId; }
            set { _thucPhamId = value; }
        }

        public double SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }

        public double Tien
        {
            get { return _tien; }
            set { _tien = value; }
        }
        #endregion
    }
}
